package OOday01.HomeWork;

/**
 * @description: TODO
 * @author yumo
 * @version: 1.0
 * @date 2025/3/6 19:08
 */
public class Person {
    String name;
    int age;
    String address;
    Person(){

    }
    Person(String name,int age,String address){
        this.address=address;
        this.age=age;
        this.name=name;
    }
    void eat(){
        System.out.println(age+"岁的"+name+"正在吃饭");
    }
    void sleep(){
        System.out.println(age+"岁的"+name+"正在睡觉");
    }
    void study(){
        System.out.println(age+"岁的"+name+"正在学习");
    }
}
